﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using DIST.LR.ZHJG.Infrastructure;

namespace DIST.LR.ZHJG.Navigation
{
   [System.ComponentModel.DesignTimeVisible(false)] 
    public partial class ZbglNavigation : UserControl
    {
        private IModuleManager _moduleManager;
        private IRegionManager _regionManager;
        private ZbglNavigationViewModel viewModel;
        public ZbglNavigation(IModuleManager modelManager,IRegionManager regionManager)
        {
            InitializeComponent();
            _moduleManager = modelManager;
            _regionManager = regionManager;

            viewModel = new ZbglNavigationViewModel();
            this.DataContext = viewModel;
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Button bt = sender as Button;
            switch (bt.Tag.ToString())
            {
                default:
                    break;
            }
        }
    }
}
